# -*- mode: snippet -*-
# name: diagonal-matrix
# key: diag
# contributor: Shuguang Sun
# condition: (and (texmathp) 'auto)
# --
\operatorname{diag}\\{ $0 \\}